import request from '@/utils/request'

// 查询联盟商家的二维码列表
export function listQrcode(query) {
  return request({
    url: '/union/qrcode/list',
    method: 'get',
    params: query
  })
}

export function createQr(data) {
  return request({
    url: '/union/qrcode/createQr',
    method: 'post',
    data: data
  })
}

export function downloadList(query) {
  return request({
    url: '/union/qrcode/downloadList',
    method: 'get',
    params: query
  })
}
